package com.starlink.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("书籍类别响应模型")
public class MallCategoryVO extends BaseVO implements Serializable {
    @ApiModelProperty("父ID  为空的为顶级层级")
    private Long parentId;
    @ApiModelProperty("类别名称")
    private String categoryName;
    @ApiModelProperty("子集")
    private List<MallCategoryVO> children;
}
